<!--
        *后台品牌修改页面
        * 
        *
        * @author     3+1项目组.hzy
        * @version    2018-02-02 09:48    
--> 
{extend name="AdminPublic:public"}
{block name="admin"}
 <html>
 <head></head>
 <body>
  <div class="mws-panel grid_8"> 
   <div class="mws-panel-header"> 
    <span>品牌修改</span> 
   </div> 
   <div class="mws-panel-body no-padding"> 
    <form class="mws-form" action="/brand/update" method="post" enctype="multipart/form-data"> 
     <div class="mws-form-inline"> 
      <div class="mws-form-row"> 
       <label class="mws-form-label">品牌名</label> 
       <div class="mws-form-item"> 
        <input type="text"  name="name" class="large" value="{$info['name']}" /> 
       </div> 
      </div> 
      <div class="mws-form-row"> 
       <label class="mws-form-label">分类名</label> 
       <div class="mws-form-item"> 
        <select class="large" name="class_id">
            <option value="0">--请选择---</option>
            {foreach name="data" item="row"}
            <option value="{$row['id']}" {if condition="$row['id'] eq $info['class_id']"}selected{/if}>{$row['name']}</option>
            {/foreach}
        </select>
       </div> 
      </div>
      <div class="mws-form-row">
        <label class="mws-form-label">品牌图片</label>
        <div class="mws-form-item">
                         <img src="{$info.pic}" style="height:50px;">
                         <input type="hidden" name="pic" value="{$info.pic}">
          <input type="file" class="small" name="pics" value="">
        </div>
      </div>  
     </div> 
     <div class="mws-button-row">
      <input type="hidden" name="id" value="{$info['id']}"> 
      <input type="submit" value="修改" class="btn btn-danger" /> 
      <input type="reset" value="重置" class="btn " /> 
     </div> 
    </form> 
   </div> 
  </div>
 </body>
</html>
{/block}
{block name="title"}后台品牌修改{/block}